import java.awt.*;
import javax.swing.*;
public class SetLAF {
        //WindowsĹ۸
public void setNativeLookAndFeel(){
	   try{
	           UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
	   }catch(Exception e){
	           System.out.println("NativeLAF"+e);
	   }
}
        //JavaĹ۸
public void setJavaLookAndFeel(){
	   try{
	           UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
	   }catch(Exception e){
	           System.out.println("JavaLAF"+e);
	   }
}
        //MotifĹ۸
public void setMotifLookAndFeel(){
	   try{
	           UIManager.setLookAndFeel("com.sun.java.swing.plaf.motil.MotifLookAndFeel");
	   }catch(Exception e){
	           System.out.println("MotifLAF"+e);
	   }
}
}
